<?php
namespace app\models;

use think\Model;

class MoneyRecord extends Model
{
    protected $pk = 'id';

    public function registerLog($uid,$voucher_usdt){
        $data["uid"] = $uid;
        $data["coin"] = "EUSDT";
        $data["num"] = $voucher_usdt;
        $data["type"] = 1;
        $data["desc"] = '注册赠送体验金';
        $data["time"] = time();
        $insertData = $this->insert($data);
        return $insertData;
    }
}